home *** CD-ROM | disk | FTP | other *** search
/ IRIX Patches 1995 June / SGI IRIX Patches 1995 Jun.iso / 5.3_patches / patchSG0000499 / patchSG0000499.idb / usr / include / abi / X11 / extensions / Xext.h.z / Xext.h
Encoding:
C/C++ Source or Header  |  1995-06-12  |  1.7 KB  |  56 lines

  1. /*
  2.  * $XConsortium: Xext.h,v 1.2 91/07/12 10:28:17 rws Exp $
  3.  *
  4.  * Copyright 1989 Massachusetts Institute of Technology
  5.  *
  6.  * Permission to use, copy, modify, distribute, and sell this software and its
  7.  * documentation for any purpose is hereby granted without fee, provided that
  8.  * the above copyright notice appear in all copies and that both that
  9.  * copyright notice and this permission notice appear in supporting
  10.  * documentation, and that the name of M.I.T. not be used in advertising or
  11.  * publicity pertaining to distribution of the software without specific,
  12.  * written prior permission.  M.I.T. makes no representations about the
  13.  * suitability of this software for any purpose.  It is provided "as is"
  14.  * without express or implied warranty.
  15.  *
  16.  * M.I.T. DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL
  17.  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL M.I.T.
  18.  * BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  19.  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
  20.  * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 
  21.  * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  22.  */
  23.  
  24. #ifndef _XEXT_H_
  25. #define _XEXT_H_
  26.  
  27. #include <X11/Xfuncproto.h>
  28.  
  29. _XFUNCPROTOBEGIN
  30.  
  31. extern int (*XSetExtensionErrorHandler(
  32. #if NeedFunctionPrototypes
  33.     int (*handler)(
  34. #if NeedNestedPrototypes
  35.            Display *,
  36.            char *,
  37.            char *
  38. #endif
  39.            )
  40. #endif
  41. ))();
  42.  
  43. extern int XMissingExtension(
  44. #if NeedFunctionPrototypes
  45.     Display*        /* dpy */,
  46.     _Xconst char*    /* ext_name */
  47. #endif
  48. );
  49.  
  50. _XFUNCPROTOEND
  51.  
  52. #define X_EXTENSION_UNKNOWN "unknown"
  53. #define X_EXTENSION_MISSING "missing"
  54.  
  55. #endif /* _XEXT_H_ */
  56.